package com.ljh.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private Integer userId;
    private String userName;
    private String userPassword;
    private String userSex;
    private String userTelephone;
    private String userEmail;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date userBrith;
    private String userIntroduce;
    private String userAddress;
    private String userPhoto;
    private String loveStyle;
//    private String bcphoto;
}
